import {combineReducers} from 'redux-immutable'
import * as types from './constant'
import Immutable from 'immutable'

const initial = {
  msg: "welcome"
}
function fakeLoad(state = initial, action) {
  switch (action.type) {
    case types.FAKE_LOAD:
      return Immutable.fromJS({msg: "hello react-native world!"});
    default:
      return state
  }
}

export default combineReducers({
  fakeLoad
})